package com.cloudree.gllib.frament.hockey;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.cloudree.gllib.frament.BaseFragment;
import com.cloudree.gllib.render.HockeyRender;
import com.cloudree.gllib.surface.BaseGLSurface;

/**
 * A simple {@link Fragment} subclass.
 */
public class HockeyFragment extends BaseFragment {


    public HockeyFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        mSurface=new BaseGLSurface(getActivity());
        mSurface.setRenderer(new HockeyRender());
        return mSurface;
    }

}
